package com.qf.service;

import com.qf.dao.UserDao;
import com.qf.dao.UserDaoImpl;
import com.qf.pojo.User;

import java.util.List;

/**
 * @author 千锋健哥
 */
public class UserServiceImpl implements UserService{

    @Override
    public List<User> findUser() {
        UserDao userDao = new UserDaoImpl();
        List<User> list = userDao.findUserAll();
        System.out.println(list);
        return list;
    }

}
